<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>E路货代管理平台</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="css/eroad.css">
</head>

<body>
    <div class="wrapper">
        <div class="header clearfix">
            <div class="logo pull-left">
                <img src="assets/images/eroad.png">
            </div>
            <div class="search-area pull-left">
                <div class="input-group">
                    <input type="text" class="form-control" placeholder="请输入订单编号" id="inp">
                    <span class="input-group-btn">
                        <button class="btn btn-default" type="button" id="search-btn" >
                            <span class="glyphicon glyphicon-search"></span>
                    </button>
                    </span>
                </div>
            </div>
            <div class="login-area pull-right">
                <a href="#" data-toggle="modal" data-target="#QR-area" style="color:#666;text-decoration:none;"><span class="glyphicon glyphicon-qrcode"></span>点我扫一扫</a>
                <a href="#" id="exit-link" style="color:#666;text-decoration:none;"><span class="glyphicon glyphicon-user"></span>注销</a>
            </div>
        </div>
        <!--content-->
        <div class="content rel">
            <div class="nav-content abs">
                <dl>
                    <dt><span class="glyphicon glyphicon-th-large"></span>公司订单</dt>
                    <dd class="menu-release">发布订单</dd>
                    <dd class="menu-jjlist">竞价中的订单</dd>
                    <dd class="menu-underway">进行中的订单</dd>
                    <dd class="menu-completed">已完成的订单</dd>
                </dl>
            </div>
            <div class="nav-item-bg abs" id="allmap"></div>
            <div class="nav-item-content abs" id="item1">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h4>
                           <span class="glyphicon glyphicon-edit"></span>
                            填写订单 
                        </h4>
                    </div>
                    <div class="panel-body">
                        <form class="form" style="margin:0 50px;">
                            <div class="form-group form-group-sm">
                                <label for="startplace">发货地</label>
                                <div id="distpicker" class="row">
                                    <div class="col-sm-3">
                                        <select class="form-control" id="sprovince"></select>
                                    </div>
                                    <div class="col-sm-3">
                                        <select class="form-control" id="scity"></select>
                                    </div>
                                    <div class="col-sm-3">
                                        <select class="form-control" id="sdistrict"></select>
                                    </div>
                                    <div class="col-sm-3 text-right">
                                        <button type="button" class="btn btn-primary btn-sm btn-Mark1">地图标记</button>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group form-group-sm">
                                <input type="text" class="form-control" placeholder="详细地址" id="saddr">
                            </div>
                            <div class="form-group form-group-sm row">
                                <label for="starttime" class="col-sm-2" style="line-height: 34px;">发货时间</label>
                                <div class="col-sm-2">
                                    <input type="date" class="form-control" id="sdate">
                                </div>
                                <div class="col-sm-2">
                                    <input type="time" class="form-control" id="stime">
                                </div>
                            </div>
                            <div class="form-group form-group-sm">
                                <label for="info">货物描述</label>
                                <textarea class="form-control" rows="3"></textarea>
                            </div>
                            <div class="form-group form-group-sm">
                                <label for="startplace">收货地</label>
                                <div id="distpicker2" class="row">
                                    <div class="col-sm-3">
                                        <select class="form-control" id="eprovince"></select>
                                    </div>
                                    <div class="col-sm-3">
                                        <select class="form-control" id="ecity"></select>
                                    </div>
                                    <div class="col-sm-3">
                                        <select class="form-control" id="edistrict"></select>
                                    </div>
                                    <div class="col-sm-3 text-right">
                                        <button type="button" class="btn btn-primary btn-sm btn-Mark2">地图标记</button>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group form-group-sm">
                                <input type="text" class="form-control" placeholder="详细地址" id="eaddr">
                            </div>
                            <div class="form-group form-group-sm row">
                                <label for="starttime" class="col-sm-2" style="line-height: 34px;">收货时间</label>
                                <div class="col-sm-2">
                                    <input type="date" class="form-control" id="edate">
                                </div>
                                <div class="col-sm-2">
                                    <input type="time" class="form-control" id="etime">
                                </div>
                            </div>
                            <div class="form-group form-group-sm row">
                                <label for="starttime" class="col-sm-2" style="line-height: 34px;">运费</label>
                                <div class="col-sm-3">
                                    <div class="input-group">
                                        <input type="type" class="form-control" id="price">
                                        <div class="input-group-addon">￥</div>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group form-group-sm row">
                                <label for="starttime" class="col-sm-2" style="line-height: 34px;">订单有效期</label>
                                <div class="col-sm-2">
                                    <div class="input-group">
                                        <input type="type" class="form-control" id="timelimit">
                                        <div class="input-group-addon">分钟</div>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group form-group-sm row">
                                <label for="name" class="col-sm-2" style="line-height: 34px;">客户</label>
                                <div class="col-sm-2">
                                    <input type="text" class="form-control" id="cname">
                                </div>
                            </div>
                            <div class="form-group form-group-sm row">
                                <label for="contact" class="col-sm-2" style="line-height: 34px;">联系方式</label>
                                <div class="col-sm-2">
                                    <input type="text" class="form-control" id="ctel">
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="panel-footer text-right">
                        <buttom type="button" class="btn btn-primary" id="release-btn">提交</buttom>
                        <buttom type="button" class="btn btn-default" id="btn1">关闭</buttom>
                    </div>
                </div>
            </div>
            <!--竞价中的订单-->
            <div class="nav-item-content abs" id="item2">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h4>
                            <span class="glyphicon glyphicon-hourglass"></span>
                            竞价中的订单 
                        </h4>
                    </div>
                    <div class="panel-body">
                        <table class="table table-striped table-hover" style="border:1px solid #eee;" id="Jtb">
                            <thead>
                                <tr>
                                    <th>客户</th>
                                    <th>发货地</th>
                                    <th>发送时间</th>
                                    <th>货物简介</th>
                                    <th>运费</th>
                                    <th>发布时间</th>
                                    <th>剩余时间</th>
                                    <th>查看</th>
                                </tr>
                            </thead>
                            <tbody>
                                <!---->
                            </tbody>
                        </table>
                    </div>
                    <div class="panel-footer text-right">
                        <buttom type="button" class="btn btn-default" id="btn2">关闭</buttom>
                    </div>
                </div>
            </div>
            <!--进行中的订单-->
            <div class="nav-item-content abs" id="item3">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h4>
                            <span class="glyphicon glyphicon-globe"></span>
                            进行中的订单 
                        </h4>
                    </div>
                    <div class="panel-body">
                        <table class="table table-striped table-hover" style="border:1px solid #eee;" id="utb">
                            <thead>
                                <tr>
                                    <th>订单号</th>
                                    <th>客户</th>
                                    <th>发货地</th>
                                    <th>发送时间</th>
                                    <th>收货物地</th>
                                    <th>收货时间</th>
                                    <th>货物信息</th>
                                    <th>运输司机</th>
                                    <th>操作</th>
                                </tr>
                            </thead>
                            <tbody>

                            </tbody>
                        </table>
                    </div>
                    <div class="panel-footer text-right">
                        <buttom type="button" class="btn btn-default" id="btn3">关闭</buttom>
                    </div>
                </div>
            </div>
            <!--已完成的订单-->
            <div class="nav-item-content abs" id="item4">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h4>
                            <span class="glyphicon glyphicon-ok-circle"></span>
                            已完成的订单 
                        </h4>
                    </div>
                    <div class="panel-body">
                        <table class="table table-striped table-hover" style="border:1px solid #eee;" id="ctb">
                            <thead>
                                <tr>
                                    <th>订单号</th>
                                    <th>客户</th>
                                    <th>发货地</th>
                                    <th>发送时间</th>
                                    <th>货物地</th>
                                    <th>收货时间</th>
                                    <th>货物信息</th>
                                    <th>运输司机</th>
                                    <th>操作</th>
                                </tr>
                            </thead>
                            <tbody>
                                <!--已完成的订单-->
                            </tbody>
                        </table>
                    </div>
                    <div class="panel-footer  text-right">
                        <buttom type="button" class="btn btn-default" id="btn4">关闭</buttom>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </div>
    </div>
    <!--二维码模态框-->
    <div class="modal fade" tabindex="-1" role="dialog" id="QR-area">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header text-center">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">安卓客户端下载</h4>
                </div>
                <div class="modal-body text-center">
                    <img src="assets/images/1484406475.png">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
    </div>
    <!-- /.modal -->
    <!--订单详情-->
    <div class="modal fade" tabindex="-1" role="dialog" id="detail">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header text-center">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title"><span class="glyphicon glyphicon-info-sign" style="padding-right:5px;"></span>订单详情</h4>
                </div>
                <div class="modal-body" style="font-size:16px;line-height:28px;">
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">发货地</div>
                        <div class="col-sm-8" id="detail-saddr"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">发货时间</div>
                        <div class="col-sm-8" id="detail-stime"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">货物描述</div>
                        <div class="col-sm-8" id="detail-info"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">收货地</div>
                        <div class="col-sm-8" id="detail-eaddr"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">收货时间</div>
                        <div class="col-sm-8" id="detail-etime"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">运费</div>
                        <div class="col-sm-8" id="detail-price"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">客户</div>
                        <div class="col-sm-8" id="detail-cname"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">联系方式</div>
                        <div class="col-sm-8" id="detail-ctel"></div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
    </div>
    <!-- /.modal -->
    <div class="modal fade" tabindex="-1" role="dialog" id="jjlist">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title"><span class="glyphicon glyphicon-hand-down" style="font-size:16px;line-height:28px;">竞价列表</span></h4>
                </div>
                <div class="modal-body" style="font-size:16px;line-height:28px;">
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">发货地</div>
                        <div class="col-sm-8" id="list-saddr"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">发货时间</div>
                        <div class="col-sm-8" id="list-stime"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">货物描述</div>
                        <div class="col-sm-8" id="list-info"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">运费</div>
                        <div class="col-sm-8" id="list-price"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">发布时间</div>
                        <div class="col-sm-8" id="list-release-time"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">剩余时间</div>
                        <div class="col-sm-8" id="list-left-time"></div>
                    </div>
                    <hr></hr>
                    <div class="form-group">
                        <button class="btn btn-default sort" data-sort="default">默认</button>
                        <button class="btn btn-default sort" data-sort="credit">按信用值</button>
                        <button class="btn btn-default sort" data-sort="price">按报价</button>
                    </div>
                    <table class="table table-striped table-bordered text-center" id="clist">
                        <thead>
                            <tr>
                                <th>车辆</th>
                                <th>信用值</th>
                                <th>联系电话</th>
                                <th>报价</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody>
                        </tbody>
                    </table>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
    </div>
    <!-- /.modal -->
    <!--搜索出的订单详情-->
    <div class="modal fade" tabindex="-1" role="dialog" id="detail2">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header text-center">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title"><span class="glyphicon glyphicon-info-sign" style="padding-right:5px;"></span>订单详情</h4>
                </div>
                <div class="modal-body" style="font-size:16px;line-height:28px;">
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">发货地</div>
                        <div class="col-sm-8" id="detail-saddr"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">发货时间</div>
                        <div class="col-sm-8" id="detail-stime"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">货物描述</div>
                        <div class="col-sm-8" id="detail-info"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">收货地</div>
                        <div class="col-sm-8" id="detail-eaddr"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">收货时间</div>
                        <div class="col-sm-8" id="detail-etime"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">运费</div>
                        <div class="col-sm-8" id="detail-zprice"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">客户</div>
                        <div class="col-sm-8" id="detail-cname"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">联系方式</div>
                        <div class="col-sm-8" id="detail-ctel"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">车牌号</div>
                        <div class="col-sm-8" id="detail-carnum"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2 col-sm-offset-1">司机电话</div>
                        <div class="col-sm-8" id="detail-dtel"></div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    <button type="button" class="btn btn-primary" data-dismiss="modal" id="showRoute">显示路程</button>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
    </div>
    <!-- /.modal -->
</body>
<script src="js/jquery-3.1.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=DPKeZO59Ao5izL0bAG1VGq5ETE2D55di"></script>
<script src="js/distpicker.data.min.js"></script>
<script src="js/distpicker.min.js"></script>
<script src="js/eroadindex.js"></script>

</html>
